#ifndef SINGUPMAINWINDOW_H
#define SINGUPMAINWINDOW_H

#include <QMainWindow>
#include <QPainter>


#include <QApplication>
#include <QSqlDatabase> //数据驱动
#include <QSqlQuery> //数据库执行语句

#include <QPushButton>

#include <QSystemTrayIcon>

#include <QCloseEvent>

#include <QMenu>

#include <QAction>

namespace Ui {
class SingUpMainWindow;
}

class SingUpMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit SingUpMainWindow(QWidget *parent = nullptr);
    ~SingUpMainWindow();
    //处理播放器背景画布
    void paintEvent(QPaintEvent *event);


private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();
    void sql_Init();

private:
    Ui::SingUpMainWindow *ui;
};

#endif // SINGUPMAINWINDOW_H
